package com.gusto.samples.people;

import com.gusto.engine.beans.annotations.Comparable;
import com.gusto.engine.beans.annotations.Id;

@Comparable
public class User {
	
	@Id
	private String name;
	@Id
	private Long age;
	private String sex;
	private Address address;
	
	public User() {
		super();
	}
	
	public User(String name, Long age, String sex, Address address) {
		super();
		this.name = name;
		this.age = age;
		this.sex = sex;
		this.address = address;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public Long getAge() {
		return age;
	}
	public void setAge(Long age) {
		this.age = age;
	}
	
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	
	public Address getAddress() {
		return address;
	}
	public void setAddress(Address address) {
		this.address = address;
	}
	
}
